<?php
/**
 * Prado Portal.
 *
 * @author Steen Rabol <steen.rabol@gmail.com>
 * @link http://www.pradoportal.dk/
 * @copyright Copyright &copy; 2006,2007,2008 Steen Rabol
 * @license http://www.pradoportal.dk
 * @version $Id: SlideShowPortlet.php 426 2011-01-05 10:36:10Z steen.rabol $
 * @package Pradoportal.Porttlets.SimpleTextPortlet.Install
 *
 */

Prado::using('Application.Portlets.Portlet');
class SlideShowPortlet extends Portlet
{
	public function PortletInstall()
	{
		$filePath	 = $this->Application->PortalBasePath	. '/storage/SlideShowPortlet/';
		if(parent::PortletInstall())
		{

			// Created the directory to store files
			Portalutil::Log($filePath);
			PortalUtil::CreateDirStructure($filePath);
			return true;
		}
	}

	public function PortletUnInstall()
	{
		// Clean up...
		return parent::PortletUnInstall();
	}
}
?>